.mil-banner-sm {
    position: relative;
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    /* text-align: center; */
    padding: 10px 20px;
    min-height: 200px;
    height: 25vh;
    max-height: 400px;
    overflow: hidden;
}

.mil-banner-sm .mil-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.mil-banner-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.mil-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 2%;
}

.mil-breadcrumbs {
    list-style: none;
    display: flex;
    padding: 0;
    margin-bottom: 20px;
}

.mil-banner-heading {
    font-size: 26px;
    font-weight: 700;
    color: #f0f0f0;
    padding: 0 3%;
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mil-banner-sm {
        height: 40vh;
        padding: 20px 40px;
    }
}

@media (max-width: 768px) {
    .mil-banner-sm {
        height: 35vh;
        padding: 20px 28px;
    }
}

@media (max-width: 480px) {
    .mil-banner-sm {
        height: 20vh;
        padding: 10px 10px;
    }

    .mil-banner-sm .mil-banner-content h2 {
        font-size: 15px;
        text-align: center;
    }

    .mil-breadcrumbs {
        text-align: center;
        font-size: 14px;
    }
}

.mil-banner-sm .mil-banner-content {
    width: 100%;
    position: relative;
}

.mil-banner-sm-2 {
    height: 550px;
    position: relative
}

.mil-add-page .mil-background-image,
.mil-banner-sm-2 .mil-background-image {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0
}

.mil-banner-sm-2 .mil-overlay {
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(24, 30, 38, .3)), to(#121820));
    background: linear-gradient(0deg, rgba(24, 30, 38, .3) 0, #121820 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0
}

.mil-banner-sm-3 {
    height: auto;
    position: relative
}

.mil-banner-sm-3 .mil-background-image {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0
}

.mil-banner-sm-3 .mil-banner-content {
    padding-top: 220px;
    height: 100%
}

.mil-banner-panel {
    background-color: rgba(18, 24, 32, .1);
    height: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.mil-deep-bg,
.mil-tab-buttons.mil-tab-buttons-2 a.mil-active .mil-icon-bg {
    background-color: rgba(18, 24, 32, .05);
}

.mil-breadcrumbs li {
    list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.mil-breadcrumbs li a {
    color: #f0f0f0;
    -webkit-transition: .2s cubic-bezier(0, 0, .3642, 1);
    transition: .2s cubic-bezier(0, 0, .3642, 1)
}

.mil-breadcrumbs li:after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #cd0000;
    margin: 0 15px
}

.mil-breadcrumbs li:last-child {
    cursor: not-allowed
}

.mil-breadcrumbs li:last-child::after {
    content: none !important;
}

.mil-breadcrumbs li:last-child a {
    pointer-events: none;
    /* color: rgba(18, 24, 32, .5) */
    color: #acacac;
}

.mil-uppercase {
    text-transform: uppercase;
    font-size: 17px;
}

.mil-p-120-60 {
    padding-bottom: 35px
}

.mil-mb-100 {
    margin-bottom: 45px !important;
}

.mil-circle-illustration {
    margin-top: 60px;
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    border-radius: 50%;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

.mil-circle-illustration .mil-circle-bg {
    width: 100%;
    height: 100%;
    background-color: rgba(205, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.mil-circle-illustration .mil-image-frame {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
    overflow: hidden;
}

.mil-circle-illustration .mil-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.supplier-card {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-wrap: wrap;
}

.supplier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.supplier-card img {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    margin-right: 20px;
    object-fit: cover;
}

.supplier-info {
    flex: 1;
    min-width: 200px;
}

.supplier-info h3 {
    margin-top: 0;
    color: #333;
    text-transform: capitalize;
    font-weight: 600;
}

.supplier-info p {
    margin: 5px 0;
    color: #666;
    text-transform: capitalize;
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-group .btn {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
    flex: 1 1 auto;
}

.btn-group .btn-call {
    background-color: #222222;
}

.btn-group .btn-call:hover {
    background-color: #000000;
}

.btn-group .btn-whatsapp {
    background-color: #222222;
}

.btn-group .btn-whatsapp:hover {
    background-color: #000000;
}

.btn-group .btn-view {
    background-color: #222222;
}

.btn-group .btn-view:hover {
    background-color: #000000;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 2px 0 0;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    color: #000;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #222222;
    color: white;
    border-color: #222222;
}

.pagination .page-item.active .page-link {
    background-color: #222222;
    color: white;
    border-color: #222222;
}

.pagination .page-item.disabled .page-link {
    color: #666;
    background-color: #f8f9fa;
    border-color: #ddd;
}

.search-form {
    max-width: 400px;
    width: 100%;
    margin-bottom: 20px;
}

.search-input {
    border-radius: 5px 0 0 5px;
    border: 1px solid #ddd;
    padding: 10px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #777;
    outline: none;
}

.search-button {
    border-radius: 0 5px 5px 0;
    background-color: #777;
    border: 1px solid #777;
    padding: 10px 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: #fff;
}

.search-button:hover {
    background-color: #222222;
    border-color: #222222;
    color: #fff;
}

.search-button i {
    margin-right: 5px;
}

.input-group {
    justify-content: flex-end;
}

.modal.fade .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0 auto;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.fade.show .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

.modal-content {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    overflow: hidden;

}

.modal-header {
    position: relative;
    height: 40px !important;
}

.custom-close {
    font-size: 2.5rem;
    color: #000;
    opacity: 1;
    transition: opacity 0.3s ease;
    padding: 5px 10px !important;
    background: none;
    border: none;
}

.custom-close:hover {
    opacity: 0.7;
}

.phone-icon, .mobile-icon, .whatsapp-icon {
    padding-left: 8px; 
    padding-right: 8px; 
    font-size: 1.5rem;
    font-weight: 600;
}

.numbers{
    font-size: 1.5rem;
    font-weight: 600;
}

.copy-icon{
    font-size: 1.5rem;
    background: transparent;
    color: #666
}
.copy-icon:hover{
    color: black;
}

.copy-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.copy-popup.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .supplier-card {
        flex-direction: column;
        text-align: center;
    }

    .supplier-card img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .supplier-info h3 {
        margin-bottom: 3px;
    }

    .btn-group {
        flex-direction: column;
        width: 80%;
        align-items: center;
        margin-top: 10px;

    }

    .btn-group .btn {
        width: 80%;
        margin-bottom: 10px;
        border-radius: 0;

    }

    .search-form {
        max-width: 100%;
    }

    .search-input {
        padding: 8px;
    }

    .search-button {
        padding: 8px 15px;
    }

}